package com.fenqiyong.www.action;

import android.app.Activity;

import com.tougc.bean.beans.BannerBean;
import com.tougc.bean.beans.CardIndexBean;
import com.tougc.bean.beans.ProductIndexBean;

import java.util.List;

import ren.nearby.http.base.BasePresenter2;
import ren.nearby.http.base.BaseView;

/**
 * Created by Administrator on 2018/5/18 0018.
 */

public class FragmentIndexContract {
    public interface View extends BaseView<FragmentIndexPresent> {


        void banner(List<BannerBean.Banner> banners);

        void card(List<CardIndexBean.CardIndex> cardIndices);

        void product(List<ProductIndexBean.ProductIndex> productIndices);

        Activity getActivity();

    }

    public interface Action extends BasePresenter2<View> {


        void concatIndex(int page, int size);
        void concatIndex2(int page, int size);

    }
}
